package com.sz.ac.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 战队统计信息
 * </p>
 *
 * @author ruichar
 * @since 2018-04-01
 */
@TableName("ac_grp_sum")
public class AcGrpSum extends Model<AcGrpSum> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 战队id
     */
	@TableField("grp_id")
	private Integer grpId;
    /**
     * 队长手机号
     */
	@TableField("grp_leader_phone")
	private String grpLeaderPhone;
    /**
     * 战队总球数
     */
	@TableField("ball_nm_sum")
	private Integer ballNmSum;
    /**
     * 战队投资人数
     */
	@TableField("invest_nm")
	private Integer investNm;
    /**
     * 时间戳
     */
	private Date tsp;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGrpId() {
		return grpId;
	}

	public void setGrpId(Integer grpId) {
		this.grpId = grpId;
	}

	public String getGrpLeaderPhone() {
		return grpLeaderPhone;
	}

	public void setGrpLeaderPhone(String grpLeaderPhone) {
		this.grpLeaderPhone = grpLeaderPhone;
	}

	public Integer getBallNmSum() {
		return ballNmSum;
	}

	public void setBallNmSum(Integer ballNmSum) {
		this.ballNmSum = ballNmSum;
	}

	public Integer getInvestNm() {
		return investNm;
	}

	public void setInvestNm(Integer investNm) {
		this.investNm = investNm;
	}

	public Date getTsp() {
		return tsp;
	}

	public void setTsp(Date tsp) {
		this.tsp = tsp;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
